package com.zzyl.mapper;

import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingProjectMapper {

    List<NursingProjectVo> selectByPage(String name,Integer status);

    NursingProject selectByName(String name);

    void insertNursingProject(NursingProject nursingProject);

    NursingProject selectById(Long id);

    void updateById(NursingProject nursingProject);

    void updateStatus(Long id, Integer status);

    void deleteById(Long id);
}
